return {
  "folke/noice.nvim",
  opts = {
    presets = {
      -- This is the search bar or popup that shows up when you press /
      -- Setting this to false makes it a popup and true the search bar at the bottom
      -- search middle
      bottom_search = false,
    },
    messages = {
      -- NOTE: If you enable messages, then the cmdline is enabled automatically.
      -- This is a current Neovim limitation.
      enabled = true, -- enables the Noice messages UI
      view = "mini", -- default view for messages
      view_error = "mini", -- view for errors
      view_warn = "mini", -- view for warnings
      view_history = "mini", -- view for :messages
      view_search = "mini", -- view for search count messages. Set to `false` to disable
    },
    notify = {
      -- Noice can be used as `vim.notify` so you can route any notification like other messages
      -- Notification messages have their level and other properties set.
      -- event is always "notify" and kind can be any log level as a string
      -- The default routes will forward notifications to nvim-notify
      -- Benefit of using Noice for this is the routing and consistent history view
      enabled = true,
      view = "mini",
    },
    lsp = {
      message = {
        -- Messages shown by lsp servers
        enabled = true,
        view = "mini",
      },
    },
    views = {
      -- This sets the position for the search popup that shows up with / or with :
      cmdline_popup = {
        position = {
          row = "40%",
          col = "50%",
        },
      },
      mini = {
        -- timeout = 5000, -- timeout in milliseconds
        timeout = 5000,
        align = "center",
        position = {
          -- Centers messages top to bottom
          row = "95%",
          -- Aligns messages to the far right
          col = "100%",
        },
      },
    },
  },
}
